<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>

</body>
<!-- <script src="../js/1.js"></script> -->

<!-- script脚本载入外部文件时(发送http请求),会将载入的内容放到脚本中作为JS语句执行 -->
<!-- <script type="text/javascript" src="../js/2.txt"></script> -->

<!-- script脚本载入外部文件时(发送http请求),会将载入的内容放到脚本中作为JS语句执行 -->
<!-- <script type="text/javascript" src="http://localhost:3000/goods/jsonp"></script> -->

<script type="text/javascript" src="http://localhost:3000/goods/jsonp"></script>

<!-- 等价于
<script>
    [1,2,3,4]
</script> -->

</html>